package com.iplant.wms.service.po.wms;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;

import java.io.Serializable;

/**
 * 安全库存
 *
 * @author ShrisJava
 */
public class WMSStockSafe extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    public int FactoryID = 0;

    public String FactoryCode = "";
    public String FactoryName = "";

    public int StoreID = 0;

    public String StoreCode = "";
    public String StoreName = "";

    public int StoreTypeID = 0;

    public String StoreTypeCode = "";
    public String StoreTypeName = "";

    public int StoreAreaID = 0;

    public String StoreAreaCode = "";

    public String StoreAreaName = "";

    public int MaterialID = 0;

    public String MaterialCode = "";

    public String MaterialName = "";

    public int UnitID = 0;
    public String UnitText = "";
    public String UnitCode = "";

    /**
     * 质保期限（天） 0不限
     */
    public int SafeDate = 0;

    /**
     * 质保预警期（天） 0无预警
     */
    public int SafeAlarmDate = 0;

    /**
     * 呆滞判定期限（天） 0不限
     */
    public int DeadDate = 0;

    /**
     * 最大存储期（天） 0无限制
     */
    public int MaxDeadDate = 0;

    /**
     * 最小库存
     */
    public double MinNum = 0.0;

    /**
     * 最大库存
     */
    public double MaxNum = 0.0;
    /**
     * 安全库存
     */
    public double SafeNum = 0.0;

    @JsonProperty("FactoryID")
    public int getFactoryID() {
        return FactoryID;
    }

    public void setFactoryID(int factoryID) {
        FactoryID = factoryID;
    }

    @JsonProperty("FactoryCode")
    public String getFactoryCode() {
        return FactoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        FactoryCode = factoryCode;
    }

    @JsonProperty("FactoryName")
    public String getFactoryName() {
        return FactoryName;
    }

    public void setFactoryName(String factoryName) {
        FactoryName = factoryName;
    }

    @JsonProperty("StoreID")
    public int getStoreID() {
        return StoreID;
    }

    public void setStoreID(int storeID) {
        StoreID = storeID;
    }

    @JsonProperty("StoreCode")
    public String getStoreCode() {
        return StoreCode;
    }

    public void setStoreCode(String storeCode) {
        StoreCode = storeCode;
    }

    @JsonProperty("StoreName")
    public String getStoreName() {
        return StoreName;
    }

    public void setStoreName(String storeName) {
        StoreName = storeName;
    }

    @JsonProperty("StoreTypeID")
    public int getStoreTypeID() {
        return StoreTypeID;
    }

    public void setStoreTypeID(int storeTypeID) {
        StoreTypeID = storeTypeID;
    }

    @JsonProperty("StoreTypeCode")
    public String getStoreTypeCode() {
        return StoreTypeCode;
    }

    public void setStoreTypeCode(String storeTypeCode) {
        StoreTypeCode = storeTypeCode;
    }

    @JsonProperty("StoreTypeName")
    public String getStoreTypeName() {
        return StoreTypeName;
    }

    public void setStoreTypeName(String storeTypeName) {
        StoreTypeName = storeTypeName;
    }

    @JsonProperty("MaterialID")
    public int getMaterialID() {
        return MaterialID;
    }

    public void setMaterialID(int materialID) {
        MaterialID = materialID;
    }

    @JsonProperty("MaterialCode")
    public String getMaterialCode() {
        return MaterialCode;
    }

    public void setMaterialCode(String materialCode) {
        MaterialCode = materialCode;
    }

    @JsonProperty("MaterialName")
    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String materialName) {
        MaterialName = materialName;
    }

    @JsonProperty("UnitID")
    public int getUnitID() {
        return UnitID;
    }

    public void setUnitID(int unitID) {
        UnitID = unitID;
    }

    @JsonProperty("UnitText")
    public String getUnitText() {
        return UnitText;
    }

    public void setUnitText(String unitText) {
        UnitText = unitText;
    }

    @JsonProperty("UnitCode")
    public String getUnitCode() {
        return UnitCode;
    }

    public void setUnitCode(String unitCode) {
        UnitCode = unitCode;
    }

    @JsonProperty("SafeNum")
    public double getSafeNum() {
        return SafeNum;
    }

    public void setSafeNum(double safeNum) {
        SafeNum = safeNum;
    }

    @JsonProperty("StoreAreaID")
    public int getStoreAreaID() {
        return StoreAreaID;
    }

    public void setStoreAreaID(int storeAreaID) {
        StoreAreaID = storeAreaID;
    }

    @JsonProperty("StoreAreaCode")
    public String getStoreAreaCode() {
        return StoreAreaCode;
    }

    public void setStoreAreaCode(String storeAreaCode) {
        StoreAreaCode = storeAreaCode;
    }

    @JsonProperty("StoreAreaName")
    public String getStoreAreaName() {
        return StoreAreaName;
    }

    public void setStoreAreaName(String storeAreaName) {
        StoreAreaName = storeAreaName;
    }

    @JsonProperty("SafeDate")
    public int getSafeDate() {
        return SafeDate;
    }

    public void setSafeDate(int safeDate) {
        SafeDate = safeDate;
    }

    @JsonProperty("SafeAlarmDate")
    public int getSafeAlarmDate() {
        return SafeAlarmDate;
    }

    public void setSafeAlarmDate(int safeAlarmDate) {
        SafeAlarmDate = safeAlarmDate;
    }

    @JsonProperty("DeadDate")
    public int getDeadDate() {
        return DeadDate;
    }

    public void setDeadDate(int deadDate) {
        DeadDate = deadDate;
    }

    @JsonProperty("MaxDeadDate")
    public int getMaxDeadDate() {
        return MaxDeadDate;
    }

    public void setMaxDeadDate(int maxDeadDate) {
        MaxDeadDate = maxDeadDate;
    }

    @JsonProperty("MinNum")
    public double getMinNum() {
        return MinNum;
    }

    public void setMinNum(double minNum) {
        MinNum = minNum;
    }

    @JsonProperty("MaxNum")
    public double getMaxNum() {
        return MaxNum;
    }

    public void setMaxNum(double maxNum) {
        MaxNum = maxNum;
    }
}
